package com.system.common.dao.role;

import com.system.common.entity.role.PersonRole;
import com.system.common.entity.role.PersonRoleExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface PersonRoleMapper {
    /**
     *
     * @mbg.generated 2020-03-02
     */
    long countByExample(PersonRoleExample example);

    /**
     *
     * @mbg.generated 2020-03-02
     */
    int deleteByExample(PersonRoleExample example);

    /**
     *
     * @mbg.generated 2020-03-02
     */
    int insert(PersonRole record);

    /**
     *
     * @mbg.generated 2020-03-02
     */
    int insertSelective(PersonRole record);

    /**
     *
     * @mbg.generated 2020-03-02
     */
    List<PersonRole> selectByExample(PersonRoleExample example);

    /**
     *
     * @mbg.generated 2020-03-02
     */
    int updateByExampleSelective(@Param("record") PersonRole record, @Param("example") PersonRoleExample example);

    /**
     *
     * @mbg.generated 2020-03-02
     */
    int updateByExample(@Param("record") PersonRole record, @Param("example") PersonRoleExample example);
}